Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Managing a View's Style States

QuickDraw 3D provides routines that you can use to get information about the style state of a view.

For information about styles and style types, see the chapter "Style Objects."

Q3View_GetBackfacingStyleState

You can use the Q3View_GetBackfacingStyleState function to get the current backfacing style of a view.

TQ3Status Q3View_GetBackfacingStyleState (
                     TQ3ViewObject view,
                     TQ3BackfacingStyle *backfacingStyle);
view
A view.
backfacingStyle
On exit, the current backfacing style of the specified view.

DESCRIPTION

The Q3View_GetBackfacingStyleState function returns, in the backfacingStyle parameter, the current backfacing style of the view specified by the view parameter.

Q3View_GetInterpolationStyleState

You can use the Q3View_GetInterpolationStyleState function to get the current interpolation style of a view.

TQ3Status Q3View_GetInterpolationStyleState (
                     TQ3ViewObject view,
                     TQ3InterpolationStyle *interpolationType);
view
A view.
interpolationType
On exit, the current interpolation style of the specified view.

DESCRIPTION

The Q3View_GetInterpolationStyleState function returns, in the interpolationType parameter, the current interpolation style of the view specified by the view parameter.

Q3View_GetFillStyleState

You can use the Q3View_GetFillStyleState function to get the current fill style of a view.

TQ3Status Q3View_GetFillStyleState (
                     TQ3ViewObject view,
                     TQ3FillStyle *fillStyle);
view
A view.
fillStyle
On exit, the current fill style of the specified view.

DESCRIPTION

The Q3View_GetFillStyleState function returns, in the fillStyle parameter, the current fill style of the view specified by the view parameter.

Q3View_GetHighlightStyleState

You can use the Q3View_GetHighlightStyleState function to get the current highlight style of a view.

TQ3Status Q3View_GetHighlightStyleState (
                     TQ3ViewObject view,
                     TQ3AttributeSet *highlightStyle);
view
A view.
highlightStyle
On exit, the current highlight style of the specified view.

DESCRIPTION

The Q3View_GetHighlightStyleState function returns, in the highlightStyle parameter, the current highlight style of the view specified by the view parameter. You are responsible for disposing of the returned attribute set (by calling Q3Object_Dispose ) when you are done using it.

Q3View_GetSubdivisionStyleState

You can use the Q3View_GetSubdivisionStyleState function to get the current subdivision style of a view.

TQ3Status Q3View_GetSubdivisionStyleState (
                     TQ3ViewObject view,
                     TQ3SubdivisionStyleData *subdivisionStyle);
view
A view.
subdivisionStyle
On exit, the current subdivision style of the specified view.

DESCRIPTION

The Q3View_GetSubdivisionStyleState function returns, in the subdivisionStyle parameter, the current subdivision style of the view specified by the view parameter.

Q3View_GetOrientationStyleState

You can use the Q3View_GetOrientationStyleState function to get the current frontfacing direction style of a view.

TQ3Status Q3View_GetOrientationStyleState (
                     TQ3ViewObject view,
                     TQ3OrientationStyle *fontFacingDirectionStyle);
view
A view.
fontFacingDirectionStyle
On exit, the current frontfacing direction style of the specified view.

DESCRIPTION

The Q3View_GetOrientationStyleState function returns, in the fontFacingDirectionStyle parameter, the current frontfacing direction style of the view specified by the view parameter.

Q3View_GetReceiveShadowsStyleState

You can use the Q3View_GetReceiveShadowsStyleState function to get the current shadow-receiving style of a view.

TQ3Status Q3View_GetReceiveShadowsStyleState (
                     TQ3ViewObject view,
                     TQ3Boolean *receives);
view
A view.
receives
On exit, the current shadow-receiving style of the specified view.

DESCRIPTION

The Q3View_GetReceiveShadowsStyleState function returns, in the receives parameter, the current shadow-receiving style of the view specified by the view parameter.

Q3View_GetPickIDStyleState

You can use the Q3View_GetPickIDStyleState function to get the current picking ID style of a view.

TQ3Status Q3View_GetPickIDStyleState (
                     TQ3ViewObject view,
                     unsigned long *pickIDStyle);
view
A view.
pickIDStyle
On exit, the current picking ID style of the specified view.

DESCRIPTION

The Q3View_GetPickIDStyleState function returns, in the pickIDStyle parameter, the current picking ID style of the view specified by the view parameter.

Q3View_GetPickPartsStyleState

You can use the Q3View_GetPickPartsStyleState function to get the current picking parts style of a view.

TQ3Status Q3View_GetPickPartsStyleState (
                     TQ3ViewObject view,
                     TQ3PickParts *pickPartsStyle);
view
A view.
pickPartsStyle
On exit, the current picking parts style of the specified view.

DESCRIPTION

The Q3View_GetPickPartsStyleState function returns, in the pickPartsStyle parameter, the current picking parts style of the view specified by the view parameter.

Q3View_GetAntiAliasStyleState

You can use the Q3View_GetAntiAliasStyleState function to determine the state of antialiasing in a view.

TQ3Status Q3View_GetAntiAliasStyleState(
                     TQ3ViewObject view,
                     TQ3AntiAliasStyleData *antiAliasData);
view
A view.
antiAliasData
Pointer to an antialias style data structure.

DESCRIPTION

The Q3View_GetAntiAliasStyleState function must be called within a rendering loop. It returns the current state of the antialiasing style of the specified TQ3ViewObject view in a TQ3AntiAliasStyleData structure whose pointer is passed as antiAliasData .


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |